body {
  margin: 0;
  padding: 0;
  background-color: #1a2738;
}

header {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding-left: 1em;
  padding-bottom: 0.2em;
  padding-right: 1em;
  padding-top: 1em;
}

.header-content {
  display: flex;
  align-items: center; /* Center the items vertically */
  justify-content: space-between; /* Space between the logo and nav */
}

.header-content img {
  max-height: 3em;
  margin-right: 3em;
}

.header-buttons {
  display: flex;
  justify-content: space-between;
  background-color: #000000;
  padding: 0.5em;
  padding-left: 6em;
  padding-right: 6em;
  align-items: center;
  flex-grow: 1;
}

.header-buttons a {
  text-decoration: none;
  font-size: 14pt;
  color: #ffffff;
  padding: 0.5em 1em;
  transition: background-color 0.3s;
  background-color: #174167;
  text-decoration: none;
  margin-right: 0.9em;
  padding: 0.4em 0.8em; /* Smaller padding for a more compact button */
  border-radius: 0.8em; /* Make the buttons more rounded */
  white-space: nowrap; /* Prevent text from wrapping */
}

.header-buttons a:hover {
  background-color: #286aa7;
}

.page-title {
  display: flex;
  justify-content: left;
  margin-left: 8.75%;
  margin-bottom: 1%;
  margin-top: 2%;
  padding: 0%;
  font-family: 'MuseoModerno', sans-serif !important;
  letter-spacing: 0.05em;
  font-weight: 400 !important;
  color: transparent; /* Set initial text color to transparent */
  font-size: 2.5em;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0),
    rgba(255, 255, 255, 0.8)
  ); /* Adjust the colors and stops as needed */
  background-clip: text;
  -webkit-background-clip: text;
  animation: fadeIn 6s forwards; /* Set a longer duration for the animation */
}

@keyframes fadeIn {
  to {
    color: rgb(255, 255, 255);
    background-size: 200% 100%; /* Adjust the size of the gradient */
  }
}

section {
  display: flex;
  /* flex-wrap: wrap; <--- DELETE THIS LINE */
  justify-content: space-around;
  margin-left: 8%;
  margin-right: 8%;
  background-color: #1a2738;
  width: 84%;
  justify-self: center;
  /* height: 100vh; <--- Consider removing or changing this if content is longer than the viewport */
}

.left-side_rectangle {
  flex: 3;
  margin: 2%;
  display: flex;
  flex-direction: column;
  margin-left: 1%;
  gap: 2%; /* Space between buttons */
  align-items: center;
  background-color: #1a2738;
  min-width: 250px;
  flex-shrink: 0;
}

.leftRectangle-section1-button-title {
  margin-top: 5%;
  margin-bottom: 3%;
  font-weight: 700px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}

.leftRectangle-section1 {
  flex: 0.2;
  background-color: #111927;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.leftRectangle-section1 a {
  margin-bottom: 6%;
  margin-top: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 2.5em;
  border-radius: 0.5em;
  background-color: #182a47;
  border: none;
  color: #ffffff;
  cursor: pointer;
  margin: 3%;
  text-decoration: none;
  white-space: nowrap;
}

.Empty-section1 {
  flex: 1;
}

.leftRectangle-section2 {
  flex: 2;
  background-color: #111927;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.leftRectangle-section2-button-title {
  margin-top: 5%;
  margin-bottom: 3%;
  font-weight: 700px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}

.leftRectangle-section2 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 2.5em;
  border-radius: 0.5em;
  background-color: #182a47;
  border: none;
  color: #ffffff;
  cursor: pointer;
  margin: 3%;
  text-decoration: none;
  height: auto;
  padding: 0.5em 0.5em;
  text-align: left;
}

.leftRectangle-section2 a:last-child {
  margin-bottom: 9%;
}

.Empty-section2 {
  flex: 1;
}

.leftRectangle-section3 {
  flex: 0.2;
  background-color: #111927;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.leftRectangle-section3 a {
  margin-bottom: 6%;
  margin-top: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 2.5em;
  border-radius: 0.5em;
  background-color: #182a47;
  border: none;
  color: #ffffff;
  cursor: pointer;
  margin: 3%;
  text-decoration: none;
  white-space: nowrap;
}

.leftRectangle-section3-button-title {
  margin-top: 5%;
  margin-bottom: 3%;
  font-weight: 700px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
}

.Empty-section3 {
  flex: 2;
}

.right-side_rectangle {
  flex: 8;
  margin: 2%;
  margin-right: 0%;
  margin-left: 1%;
  background-color: #1a2738;
  color: rgb(212, 212, 212);
  word-break: break-word;
  min-width: 600px;
  overflow-y: auto;
  overflow-x: hidden;
}

.right-side_rectangle-buttons {
  display: flex;
  flex-direction: row;
  background-color: #111927;
  justify-content: space-between; /* Distribute the buttons with space between them */
  align-items: center;
  height: 3.2em;
}

.right-side_rectangle-buttons a {
  border-radius: 0.5em;
  background-color: #182a47;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 1%;
  margin: 0 2%; /* Adjust the margin between "Previous" and "Next" buttons */
  text-decoration: none;
  white-space: nowrap;
}

.right-side_rectangle-buttons .next_course {
  margin-left: auto;
}

.right-side_rectangle-buttons a:hover,
.leftRectangle-section1 a:hover,
.leftRectangle-section2 a:hover,
.leftRectangle-section3 a:hover {
  background-color: #1e6bb2;
}

h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1em;
  margin-bottom: 0.8em;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  /* font-size: 1.5em; */
  font-weight: 400;
  font-weight: bold;
  margin-bottom: 1em;
}

p {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.7em;
  margin-bottom: 1.5em;
}

li {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.7em;
  margin-bottom: 0.5em;
}

a {
  font-family: 'Space Grotesk', sans-serif;
}

.blue-word {
  color: rgb(63, 225, 217);
}

.act-img {
  rotate: -1deg;
}

.quiz-container {
  max-width: 600px;
  margin: auto;
}

.question {
  margin-bottom: 2em;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: none;
  font-size: 1.1em;
}

.options {
  list-style-type: none;
  padding: 0;
  margin-bottom: -0px;
}

.option {
  margin-bottom: 0.5em;
}

input[type='radio'] {
  display: none; /* Hide the radio buttons */
}
label {
  display: block;
  padding: 0.3em;
  background-color: #16305a; /* Light gray background */
  cursor: pointer;
  border-radius: 0.4em; /* Add border-radius for a bevel effect */
  font-family: 'Space Grotesk', sans-serif;
  font-size: medium;
  width: 50%; /* Set the maximum width for the label */
  text-align: center; /* Center the text */
  margin-top: 0.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  margin: 0 auto; /* Center horizontally using margin */
}

label.selected {
  background-color: rgb(
    61,
    78,
    163
  ); /* Change the background color for the selected label */
}

.answer-detail {
  display: none;
  margin-top: 0.6px;
}

#result {
  font-weight: bold;
  margin-top: 20px;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 2em;
  display: block;
  width: fit-content;
}

.submit {
  display: block;
  padding: 0.5em;
  margin-bottom: 0.6em;
  background-color: rgb(83, 168, 19);
  border: 0.1em solid rgb(72, 151, 12);
  cursor: pointer;
  border-radius: 0.6em;
  font-family: 'Space Grotesk', sans-serif;
  font-size: medium;
  max-width: 20%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  color: #ffffff;
  margin: 0.6em auto 0.6em auto;
}
